Skip to main content
Version: Upcoming

SRParentBrokerSummary

V8 Message Definiton

SpdrParentBrokerSummary records are created at the end of a trading period and contain a summary of trading activity for the period; Summary of Stk/Fut/Opt/MLeg Brkr State records.

METADATA

AttributeValue
Topic3985-parent-orders
MLink TokenClientTrading
ProductSRTrade
accessTypeSELECT
MLink EndpointMLink-Order

Table Definition

FieldTypeKeyDefault ValueComment
accntVARCHAR(16)PRI''
secTypeenum - SpdrKeyTypePRI'None'
tickerSrcenum - TickerSrcPRI'None'
spdrSourceenum - SpdrSourcePRI'None'
parentOrderHandlingenum - ParentOrderHandlingPRI'None'
tradingPeriodDATEPRI'1900-01-01'
clientFirmVARCHAR(16)PRI''SR client firm
numOrdersINT0number of parent orders
numBrokersINT0number of parent brokers
numSecKeysINT0number of unique secKeys
numUnderliersINT0number of unique underlier secKeys
sumOrderSizeINT0total parent order size
sumSweepMktSizeINT0size that would be expected to fill immediately after parent order arrival
sumSweepFillQtyINT0size that filled as a result of an initial sweep
sumActiveSecondsFLOAT0total seconds parent order is active
sumWorkingSecondsFLOAT0total seconds with at least one working child order
numChildOrdersINT0total number of child orders generated
cumFillQtyINT0
sumVwapQtyINT0SUM cumFillQty if avgVwapPrice exists stock and futures only
sumVwapPnLFLOAT0SUM avgVWapPrice avgFillPrice cumFillQty if avgVwapPrice exists stock and futures only

PRIMARY KEY DEFINITION (Unique)

FieldSequence
accnt1
secType2
tickerSrc3
spdrSource4
parentOrderHandling5
tradingPeriod6
clientFirm7

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRTrade`.`MsgSRParentBrokerSummary`
WHERE
/* Replace with a VARCHAR(16) */
`accnt` = 'Example_accnt'
AND
/* Replace with a ENUM('None','Stock','Future','Option','MLeg') */
`secType` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','SCE','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFEC','ICEFEF','CEQT','TSX','TMX') */
`tickerSrc` = 'None'
AND
/* Replace with a ENUM('None','SpdrTicket','SpdrSingle','SRSE','FIX','HedgeTool','TradeHedge','OpenHedge','AutoHedge','Orphan','RiskManager','OrderManager','ManagedOrder','RFQRespSrvr','Legger','SRSEDrop','FixDrop','TicketDrop','SysTest','RFRResponse','AllocOmni','AllocClient','CertGateway','MLegResponse','LeggerX','DropManager','AutoHedgeSrvr','AuctionStrategySrvr','AllocBlockFace','AllocBlockCust','IceChatGateway','EXS2SRC','MLinkResponse','AutoResponderVD','AutoResponderRC','AutoResponderSN','AutoResponderBX','MLink','SymChatGateway','RiskDrop','PolicyOpn','PolicyTrd') */
`spdrSource` = 'None'
AND
/* Replace with a ENUM('None','ActiveTaker','PostOnly','DMA','MktOnOpn','MktOnCls','Facilitate','Matrix','Legger','Seeker','SeekerLegger','CrossResponse','AuctionResponse','MLegAuctionResp','RFQRequest','AwayAlgo','ExchPing','BlockAuction','AtsResponse','SweepTake','CobMaker','FaceOmni','TestParent','FlashAuction','BlockAuctionDAC','BlockAuctionPOC','BlockAuctionPCV','DegrossAuction') */
`parentOrderHandling` = 'None'
AND
/* Replace with a DATE */
`tradingPeriod` = '2022-01-01'
AND
/* Replace with a VARCHAR(16) */
`clientFirm` = 'Example_clientFirm';

Doc Columns Query

SELECT * FROM SRTrade.doccolumns WHERE TABLE_NAME='SRParentBrokerSummary' ORDER BY ordinal_position ASC;